package cn.liuweiwei.service;

import cn.liuweiwei.domain.ImgFile;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface FileService {
    ImgFile insertFileWithReturn(ImgFile imgFile);

    PageInfo<ImgFile> findFileByPage(String page, String limit);

    List<ImgFile> findFilesByName(String name);

    void deleteFile(String id);
}
